package at.fhooe.mcm.logic.network;

import java.net.SocketAddress;
import java.nio.ByteBuffer;

public interface Peer
{

	public SocketAddress getAddress();

	public void connect();

	public void disconnect();

	public boolean isConnected();

	public void send(ByteBuffer _buffer);

	public ByteBuffer receive();

}
